package cd.cdyb.sms.service;

import cd.cdyb.sms.dto.PageResult;
import cd.cdyb.sms.dto.RechargeDto;
import cd.cdyb.sms.dto.query.RechargeQueryDto;
import cd.cdyb.sms.exception.BusinessException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lin
 * @since 2024-05-16
 */
public interface RechargeService {

    /**
     * 新增
     */
    void insertRecharge(RechargeDto rechargeDto) throws BusinessException;

    /**
     * 分页
     */
    PageResult<RechargeDto> findRechargePageWithClient(RechargeQueryDto rechargeQueryDto);

    /**
     * 开票
     */
    void invoice(RechargeDto rechargeDto) throws BusinessException;
}
